package com.starbugs.wehcat.pojo;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author starbooks
 */
@Data
public class Taco1 {

  private long id;

  private Date createAt;

  @NotNull
  @Size(min=5, message="Name must be at least 5 characters long")
  private String name;

  @Size(min=1, message="You must choose at least 1 ingredient")
  private String[] ingredients;
}
